#pragma once

#include <QUuid>

#include <Type/User.h>
#include <Utility/Convertor.h>

namespace PredefinedConstance
{
	class User
	{
	public:
		User()
		{
            qsrand(QTime::currentTime().msec());
            val2insert.phone = QString("test_phone:123456%1").arg(qrand());
            val2insert.passwordHash = TCServer::Utility::Convertor::toPasswordHash(password);
            
            val2update.phone = QString("fixed_test_phone:123456%1").arg(qrand());
            val2update.passwordHash = TCServer::Utility::Convertor::toPasswordHash(fixedPassword);
		}
	public:
        const char *password = "test password";
        const char *fixedPassword = "fixed test password";
		TCServer::Type::User val2insert;
		TCServer::Type::User val2update;
	};
}